import { Component, OnInit, Input, Output,ViewChild } from '@angular/core';
import { SlideMenuComponent } from '../slideMenu/slide-menu.component';
@Component({
  selector: 'app-header',
  templateUrl: './header.component.html',
  styleUrls: ['./header.component.scss'],

})
export class HeaderComponent implements OnInit {
  @ViewChild('aside')
  aside:SlideMenuComponent;
  @Input() title: string; 
  isShowMenu: Boolean = false;
  constructor() { }

  ngOnInit() {
    console.log(this.isShowMenu)
    //this.title = 'test'
  }
  showMenu(): void {
    this.aside.showMenu()   
  }

}
